<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>cdctools</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://wiki.woodpecker.org.cn/moin/ObpLovelyPython">PyCDC</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Module&nbsp;cdctools
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="cdctools-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module cdctools</h1><span class="codelink"><a href="cdctools-pysrc.html">source&nbsp;code</a></span><br /><br />
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="cdctools-module.html#cdWalker" class="summary-sig-name">cdWalker</a>(<span class="summary-sig-arg">cdrom</span>,
        <span class="summary-sig-arg">cdcfile</span>)</span><br />
      &#20809;&#30424;&#25195;&#25551;&#20027;&#20989;&#24335;</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="cdctools-pysrc.html#cdWalker">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="cdctools-module.html#iniCDinfo" class="summary-sig-name">iniCDinfo</a>(<span class="summary-sig-arg">cdrom</span>,
        <span class="summary-sig-arg">cdcfile</span>)</span><br />
      &#20809;&#30424;&#20449;&#24687;.ini&#26684;&#24335;&#21270;&#20989;&#24335;</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="cdctools-pysrc.html#iniCDinfo">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="cdcGrep"></a><span class="summary-sig-name">cdcGrep</span>(<span class="summary-sig-arg">cdcpath</span>,
        <span class="summary-sig-arg">keyword</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="cdctools-pysrc.html#cdcGrep">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_smartcode"></a><span class="summary-sig-name">_smartcode</span>(<span class="summary-sig-arg">stream</span>)</span><br />
      smart recove stream into UTF-8</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="cdctools-pysrc.html#_smartcode">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="formatCDinfo"></a><span class="summary-sig-name">formatCDinfo</span>(<span class="summary-sig-arg">root</span>,
        <span class="summary-sig-arg">dirs</span>,
        <span class="summary-sig-arg">files</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="cdctools-pysrc.html#formatCDinfo">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== FUNCTION DETAILS ==================== -->
<a name="section-FunctionDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Function Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-FunctionDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="cdWalker"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">cdWalker</span>(<span class="sig-arg">cdrom</span>,
        <span class="sig-arg">cdcfile</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="cdctools-pysrc.html#cdWalker">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  &#20809;&#30424;&#25195;&#25551;&#20027;&#20989;&#24335;
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>cdrom</code></strong> - &#20809;&#30424;&#35775;&#38382;&#36335;&#24452;</li>
        <li><strong class="pname"><code>cdcfile</code></strong> - &#36755;&#20986;&#30340;&#20809;&#30424;&#20449;&#24687;&#35760;&#24405;&#25991;&#20214;&#65288;&#21253;&#21547;&#36335;&#24452;&#65292;&#32477;&#23545;&#65292;&#30456;&#23545;&#37117;&#21487;&#20197;&#65289;</li>
    </ul></dd>
    <dt>Returns:</dt>
        <dd>&#26080;&#65292;&#30452;&#25509;&#36755;&#25104;&#36716;*.cdc&#25991;&#20214;</dd>
  </dl>
<div class="fields">      <p><strong>Attention:</strong>
        &#20174;v0.7&#24320;&#22987;&#19981;&#20351;&#29992;&#27492;&#25195;&#25551;&#20989;&#24335;&#65292;&#20351;&#29992;inicdinfo()
      </p>
</div></td></tr></table>
</div>
<a name="iniCDinfo"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">iniCDinfo</span>(<span class="sig-arg">cdrom</span>,
        <span class="sig-arg">cdcfile</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="cdctools-pysrc.html#iniCDinfo">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  &#20809;&#30424;&#20449;&#24687;.ini&#26684;&#24335;&#21270;&#20989;&#24335;
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>cdrom</code></strong> - &#20809;&#30424;&#35775;&#38382;&#36335;&#24452;</li>
        <li><strong class="pname"><code>cdcfile</code></strong> - &#36755;&#20986;&#30340;&#20809;&#30424;&#20449;&#24687;&#35760;&#24405;&#25991;&#20214;&#65288;&#21253;&#21547;&#36335;&#24452;&#65292;&#32477;&#23545;&#30456;&#23545;&#36335;&#24452;&#37117;&#21487;&#20197;&#65289; @return : 
          &#26080;&#65292;&#30452;&#25509;&#36755;&#20986;&#25104;&#32452;&#32455;&#22909;&#30340;&#31867;.ini&#30340;*.cdc&#25991;&#20214;</li>
    </ul></dd>
  </dl>
<div class="fields">      <p><strong>Note:</strong>
        &#30452;&#25509;&#21033;&#29992; os.walk() &#20989;&#24335;&#30340;&#36755;&#20986;&#20449;&#24687;&#30001; ConfigParser.RawConfigParser&#36827;&#34892;&#37325;&#32452;&#22788;&#29702;.ini 
        &#26684;&#24335;&#25991;&#26412;&#36755;&#20986;&#24182;&#35760;&#24405;
      </p>
</div></td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://wiki.woodpecker.org.cn/moin/ObpLovelyPython">PyCDC</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0beta1 on Fri Jan 23 14:16:06 2009
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
